package String;
/**
 * 标准JavaBean要求
 * 1.成员变量私有化
 * 2提供相对应的get、set
 * 3必须要有一个无参构造方法*/
public class Point {
    private String name;
    private int sge;

    public Point() {
    }

    public Point(String name, int sge) {
        this.name = name;
        this.sge = sge;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSge() {
        return sge;
    }

    public void setSge(int sge) {
        this.sge = sge;
    }
}
